<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div>hdkjsfhgkjshfkjshkjfhkjshfkjshkjfkfkjskjfskj</div>
<div class="container"></div>

<script src="jquery.min.js"></script>
<script>
  $(".container").load("index.html")
  var c = $(window.parent.document.body)//父元素body的信息
  console.log(c.height());
  var b=$(".parent",parent.document);//获取父级页面的元素
  console.log(b.text());
  window.parent.add();//调用父级页面的方法
</script>
</body>
</html>